package com.amigo.online.provider.video.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AreaMapper {

    @Select("select id from adv_area_tbl where ${language} = #{cityName} and usedtype = 1")
    Integer getAreaByCityName(@Param("cityName") String city, @Param("language") String language);
}
